package com.sky.service;

import com.sky.dto.OrdersPageQueryDTO;
import com.sky.dto.OrdersSubmitDTO;
import com.sky.result.PageResult;
import com.sky.vo.*;

import java.time.LocalDate;

public interface Orderservice {
    OrderSubmitVO submitOrder(OrdersSubmitDTO ordersSubmitDTO);

    void paySuccess(String number);

    PageResult selectOrders(OrdersPageQueryDTO ordersPageQueryDTO);

    OrderVO selectOrderDetailByOrderId(Long id);

    void cancel(Long id);

    void repetition(Long id);

    void reminder(Long id);

    TurnoverReportVO turnoverStatistics(LocalDate begin, LocalDate end);

    UserReportVO userStatistics(LocalDate begin, LocalDate end);

    OrderReportVO ordersStatistics(LocalDate begin, LocalDate end);

    SalesTop10ReportVO top10(LocalDate begin, LocalDate end);
}
